<?php

namespace think\wework\Abstracts;

use think\wework\Api\Token;
use think\wework\Http\ClientFactory;

abstract class WeworkApiWithToken extends WeworkApi
{
    public function __construct()
    {
        parent::__construct();
        $this->httpClient = ClientFactory::create(new Token());
    }
}